package com.hunttown.mes.rpc.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * created by wangjunfu on 2019-05-18 20:13:41
 */
public class TransportPurchaseDetailDTO implements Serializable {
    private Integer id;
    private Integer entId;
    private Integer parentId;
    private Integer tableId;
    private Integer recordId;
    private Integer purchaseType;
    private Integer partId;
    private Integer proId;
    private Integer purId;
    private String purchasetNo;
    private Integer opType;
    private Integer rPurchaseType;
    private Integer rPurchaser;
    private Integer rCompanyId;
    private String rLinkName;
    private String rLinkMobile;
    private Integer rPayCompanyId;
    private Integer rPayWay;
    private BigDecimal rPrice;
    private BigDecimal rTaxRate;
    private BigDecimal rTax;
    private Integer rStoreCount;
    private Integer rCount;
    private Integer rInCount;
    private BigDecimal rAmount;
    private Date rPurchaseDate;
    private Date rInDate;
    private String rShelves;
    private String rShelvesLevel;
    private String rShelvesLocation;
    private BigDecimal rSalePrice;
    private BigDecimal rMarketPrice;
    private BigDecimal rStorePrice;
    private Integer cOutType;
    private Integer cNoOrder;
    private Integer cStoreCount;
    private Integer cCount;
    private Integer cCountAll;
    private Integer cCountReal;
    private Integer cCountReturn;
    private Integer cCountNouse;
    private Integer cRepairId;
    private Integer cCarId;
    private Integer cDriverId;
    private Integer cUserId;
    private Date cOutDate;
    private Integer sCount;
    private String sReason;
    private Integer sAdminId;
    private Date sDate;
    private Integer reviewer;
    private Date reviewDate;
    private Integer reviewStatus;
    private Integer status;
    private Integer bxId;
    private Integer applyId;
    private Integer relationId;
    private String remark;
    private Integer adminId;
    private Date createTime;
    private Integer stopFlag;
    private Integer deleteFlag;

    private String rPurchaseDateSr;
    private String rInDateSr;
    private String cOutDateSr;
    private String sDateSr;
    private String createTimeSr;

    private String rPurchaserName;  //采购人
    private String cCarNumber;      //车辆
    private String cDriverName;     //司机
    private String cRepairReason;   //维修原因
    private String rCompanyName;    //供应商

    private String partName;
    private String partNo;
    private String specialName;
    private String sAdminName;
    private String reviewerCn;
    private String repairNo;
    private String cOutTypeName;
    private String rPayCompanyName;
    private String rPayWayName;
    private String cUserName;
    private String rPurchaseTypeName;

    //以下内容由Alt+Ins快捷生成

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getEntId() {
        return entId;
    }

    public void setEntId(Integer entId) {
        this.entId = entId;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getTableId() {
        return tableId;
    }

    public void setTableId(Integer tableId) {
        this.tableId = tableId;
    }

    public Integer getRecordId() {
        return recordId;
    }

    public void setRecordId(Integer recordId) {
        this.recordId = recordId;
    }

    public Integer getPurchaseType() {
        return purchaseType;
    }

    public void setPurchaseType(Integer purchaseType) {
        this.purchaseType = purchaseType;
    }

    public Integer getPartId() {
        return partId;
    }

    public void setPartId(Integer partId) {
        this.partId = partId;
    }

    public Integer getProId() {
        return proId;
    }

    public void setProId(Integer proId) {
        this.proId = proId;
    }

    public Integer getPurId() {
        return purId;
    }

    public void setPurId(Integer purId) {
        this.purId = purId;
    }

    public String getPurchasetNo() {
        return purchasetNo;
    }

    public void setPurchasetNo(String purchasetNo) {
        this.purchasetNo = purchasetNo;
    }

    public Integer getOpType() {
        return opType;
    }

    public void setOpType(Integer opType) {
        this.opType = opType;
    }

    public Integer getrPurchaseType() {
        return rPurchaseType;
    }

    public void setrPurchaseType(Integer rPurchaseType) {
        this.rPurchaseType = rPurchaseType;
    }

    public Integer getrPurchaser() {
        return rPurchaser;
    }

    public void setrPurchaser(Integer rPurchaser) {
        this.rPurchaser = rPurchaser;
    }

    public Integer getrCompanyId() {
        return rCompanyId;
    }

    public void setrCompanyId(Integer rCompanyId) {
        this.rCompanyId = rCompanyId;
    }

    public String getrLinkName() {
        return rLinkName;
    }

    public void setrLinkName(String rLinkName) {
        this.rLinkName = rLinkName;
    }

    public String getrLinkMobile() {
        return rLinkMobile;
    }

    public void setrLinkMobile(String rLinkMobile) {
        this.rLinkMobile = rLinkMobile;
    }

    public Integer getrPayCompanyId() {
        return rPayCompanyId;
    }

    public void setrPayCompanyId(Integer rPayCompanyId) {
        this.rPayCompanyId = rPayCompanyId;
    }

    public Integer getrPayWay() {
        return rPayWay;
    }

    public void setrPayWay(Integer rPayWay) {
        this.rPayWay = rPayWay;
    }

    public BigDecimal getrPrice() {
        return rPrice;
    }

    public void setrPrice(BigDecimal rPrice) {
        this.rPrice = rPrice;
    }

    public BigDecimal getrTaxRate() {
        return rTaxRate;
    }

    public void setrTaxRate(BigDecimal rTaxRate) {
        this.rTaxRate = rTaxRate;
    }

    public BigDecimal getrTax() {
        return rTax;
    }

    public void setrTax(BigDecimal rTax) {
        this.rTax = rTax;
    }

    public Integer getrStoreCount() {
        return rStoreCount;
    }

    public void setrStoreCount(Integer rStoreCount) {
        this.rStoreCount = rStoreCount;
    }

    public Integer getrCount() {
        return rCount;
    }

    public void setrCount(Integer rCount) {
        this.rCount = rCount;
    }

    public Integer getrInCount() {
        return rInCount;
    }

    public void setrInCount(Integer rInCount) {
        this.rInCount = rInCount;
    }

    public BigDecimal getrAmount() {
        return rAmount;
    }

    public void setrAmount(BigDecimal rAmount) {
        this.rAmount = rAmount;
    }

    public Date getrPurchaseDate() {
        return rPurchaseDate;
    }

    public void setrPurchaseDate(Date rPurchaseDate) {
        this.rPurchaseDate = rPurchaseDate;
    }

    public Date getrInDate() {
        return rInDate;
    }

    public void setrInDate(Date rInDate) {
        this.rInDate = rInDate;
    }

    public String getrShelves() {
        return rShelves;
    }

    public void setrShelves(String rShelves) {
        this.rShelves = rShelves;
    }

    public String getrShelvesLevel() {
        return rShelvesLevel;
    }

    public void setrShelvesLevel(String rShelvesLevel) {
        this.rShelvesLevel = rShelvesLevel;
    }

    public String getrShelvesLocation() {
        return rShelvesLocation;
    }

    public void setrShelvesLocation(String rShelvesLocation) {
        this.rShelvesLocation = rShelvesLocation;
    }

    public BigDecimal getrSalePrice() {
        return rSalePrice;
    }

    public void setrSalePrice(BigDecimal rSalePrice) {
        this.rSalePrice = rSalePrice;
    }

    public BigDecimal getrMarketPrice() {
        return rMarketPrice;
    }

    public void setrMarketPrice(BigDecimal rMarketPrice) {
        this.rMarketPrice = rMarketPrice;
    }

    public BigDecimal getrStorePrice() {
        return rStorePrice;
    }

    public void setrStorePrice(BigDecimal rStorePrice) {
        this.rStorePrice = rStorePrice;
    }

    public Integer getcOutType() {
        return cOutType;
    }

    public void setcOutType(Integer cOutType) {
        this.cOutType = cOutType;
    }

    public Integer getcNoOrder() {
        return cNoOrder;
    }

    public void setcNoOrder(Integer cNoOrder) {
        this.cNoOrder = cNoOrder;
    }

    public Integer getcStoreCount() {
        return cStoreCount;
    }

    public void setcStoreCount(Integer cStoreCount) {
        this.cStoreCount = cStoreCount;
    }

    public Integer getcCount() {
        return cCount;
    }

    public void setcCount(Integer cCount) {
        this.cCount = cCount;
    }

    public Integer getcCountAll() {
        return cCountAll;
    }

    public void setcCountAll(Integer cCountAll) {
        this.cCountAll = cCountAll;
    }

    public Integer getcCountReal() {
        return cCountReal;
    }

    public void setcCountReal(Integer cCountReal) {
        this.cCountReal = cCountReal;
    }

    public Integer getcCountReturn() {
        return cCountReturn;
    }

    public void setcCountReturn(Integer cCountReturn) {
        this.cCountReturn = cCountReturn;
    }

    public Integer getcCountNouse() {
        return cCountNouse;
    }

    public void setcCountNouse(Integer cCountNouse) {
        this.cCountNouse = cCountNouse;
    }

    public Integer getcRepairId() {
        return cRepairId;
    }

    public void setcRepairId(Integer cRepairId) {
        this.cRepairId = cRepairId;
    }

    public Integer getcCarId() {
        return cCarId;
    }

    public void setcCarId(Integer cCarId) {
        this.cCarId = cCarId;
    }

    public Integer getcDriverId() {
        return cDriverId;
    }

    public void setcDriverId(Integer cDriverId) {
        this.cDriverId = cDriverId;
    }

    public Integer getcUserId() {
        return cUserId;
    }

    public void setcUserId(Integer cUserId) {
        this.cUserId = cUserId;
    }

    public Date getcOutDate() {
        return cOutDate;
    }

    public void setcOutDate(Date cOutDate) {
        this.cOutDate = cOutDate;
    }

    public Integer getsCount() {
        return sCount;
    }

    public void setsCount(Integer sCount) {
        this.sCount = sCount;
    }

    public String getsReason() {
        return sReason;
    }

    public void setsReason(String sReason) {
        this.sReason = sReason;
    }

    public Integer getsAdminId() {
        return sAdminId;
    }

    public void setsAdminId(Integer sAdminId) {
        this.sAdminId = sAdminId;
    }

    public Date getsDate() {
        return sDate;
    }

    public void setsDate(Date sDate) {
        this.sDate = sDate;
    }

    public Integer getReviewer() {
        return reviewer;
    }

    public void setReviewer(Integer reviewer) {
        this.reviewer = reviewer;
    }

    public Date getReviewDate() {
        return reviewDate;
    }

    public void setReviewDate(Date reviewDate) {
        this.reviewDate = reviewDate;
    }

    public Integer getReviewStatus() {
        return reviewStatus;
    }

    public void setReviewStatus(Integer reviewStatus) {
        this.reviewStatus = reviewStatus;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public Integer getBxId() {
        return bxId;
    }

    public void setBxId(Integer bxId) {
        this.bxId = bxId;
    }

    public Integer getApplyId() {
        return applyId;
    }

    public void setApplyId(Integer applyId) {
        this.applyId = applyId;
    }

    public Integer getRelationId() {
        return relationId;
    }

    public void setRelationId(Integer relationId) {
        this.relationId = relationId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getStopFlag() {
        return stopFlag;
    }

    public void setStopFlag(Integer stopFlag) {
        this.stopFlag = stopFlag;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public String getrPurchaseDateSr() {
        if (rPurchaseDateSr == null || rPurchaseDateSr.equals("")) {
            SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd");

            if (rPurchaseDate == null) {
                return "1990-01-01";
            } else {
                return df.format(new Date(rPurchaseDate.getTime()));
            }
        } else {
            return rPurchaseDateSr;
        }
    }

    public void setrPurchaseDateSr(String rPurchaseDateSr) {
        this.rPurchaseDateSr = rPurchaseDateSr;
    }

    public String getrInDateSr() {
        if (rInDateSr == null || rInDateSr.equals("")) {
            SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd");

            if (rInDate == null) {
                return "1990-01-01";
            } else {
                return df.format(new Date(rInDate.getTime()));
            }
        } else {
            return rInDateSr;
        }
    }

    public void setrInDateSr(String rInDateSr) {
        this.rInDateSr = rInDateSr;
    }

    public String getcOutDateSr() {
        if (cOutDateSr == null || cOutDateSr.equals("")) {
            SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd");

            if (cOutDate == null) {
                return "1990-01-01";
            } else {
                return df.format(new Date(cOutDate.getTime()));
            }
        } else {
            return cOutDateSr;
        }
    }

    public void setcOutDateSr(String cOutDateSr) {
        this.cOutDateSr = cOutDateSr;
    }

    public String getsDateSr() {
        if (sDateSr == null || sDateSr.equals("")) {
            SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd");

            if (sDate == null) {
                return "1990-01-01";
            } else {
                return df.format(new Date(sDate.getTime()));
            }
        } else {
            return sDateSr;
        }
    }

    public void setsDateSr(String sDateSr) {
        this.sDateSr = sDateSr;
    }

    public String getCreateTimeSr() {
        if (createTimeSr == null || createTimeSr.equals("")) {
            SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd");

            if (createTime == null) {
                return "1990-01-01";
            } else {
                return df.format(new Date(createTime.getTime()));
            }
        } else {
            return createTimeSr;
        }
    }

    public void setCreateTimeSr(String createTimeSr) {
        this.createTimeSr = createTimeSr;
    }

    public String getrPurchaserName() {
        return rPurchaserName;
    }

    public void setrPurchaserName(String rPurchaserName) {
        this.rPurchaserName = rPurchaserName;
    }

    public String getcCarNumber() {
        return cCarNumber;
    }

    public void setcCarNumber(String cCarNumber) {
        this.cCarNumber = cCarNumber;
    }

    public String getcDriverName() {
        return cDriverName;
    }

    public void setcDriverName(String cDriverName) {
        this.cDriverName = cDriverName;
    }

    public String getcRepairReason() {
        return cRepairReason;
    }

    public void setcRepairReason(String cRepairReason) {
        this.cRepairReason = cRepairReason;
    }

    public String getrCompanyName() {
        return rCompanyName;
    }

    public void setrCompanyName(String rCompanyName) {
        this.rCompanyName = rCompanyName;
    }

    public String getPartName() {
        return partName;
    }

    public void setPartName(String partName) {
        this.partName = partName;
    }

    public String getPartNo() {
        return partNo;
    }

    public void setPartNo(String partNo) {
        this.partNo = partNo;
    }

    public String getSpecialName() {
        return specialName;
    }

    public void setSpecialName(String specialName) {
        this.specialName = specialName;
    }

    public String getsAdminName() {
        return sAdminName;
    }

    public void setsAdminName(String sAdminName) {
        this.sAdminName = sAdminName;
    }

    public String getReviewerCn() {
        return reviewerCn;
    }

    public void setReviewerCn(String reviewerCn) {
        this.reviewerCn = reviewerCn;
    }

    public String getRepairNo() {
        return repairNo;
    }

    public void setRepairNo(String repairNo) {
        this.repairNo = repairNo;
    }

    public String getcOutTypeName() {
        return cOutTypeName;
    }

    public void setcOutTypeName(String cOutTypeName) {
        this.cOutTypeName = cOutTypeName;
    }

    public String getrPayCompanyName() {
        return rPayCompanyName;
    }

    public void setrPayCompanyName(String rPayCompanyName) {
        this.rPayCompanyName = rPayCompanyName;
    }

    public String getrPayWayName() {
        return rPayWayName;
    }

    public void setrPayWayName(String rPayWayName) {
        this.rPayWayName = rPayWayName;
    }

    public String getcUserName() {
        return cUserName;
    }

    public void setcUserName(String cUserName) {
        this.cUserName = cUserName;
    }

    public String getrPurchaseTypeName() {
        return rPurchaseTypeName;
    }

    public void setrPurchaseTypeName(String rPurchaseTypeName) {
        this.rPurchaseTypeName = rPurchaseTypeName;
    }
}